home *** CD-ROM | disk | FTP | other *** search
/ Aminet 30 / Aminet 30 (1999)(Schatztruhe)[!][Apr 1999].iso / Aminet / text / misc / MSWordView_src.lha / mswordview / Makefile < prev    next >
Makefile  |  1999-02-09  |  2KB  |  113 lines

  1. # Generated automatically from Makefile.in by configure.
  2. LDFLAGS = 
  3.  
  4. LIBS =  -lz  -lm
  5.  
  6. GETOPT =  getopt1.o getopt.o
  7.  
  8.  
  9. CC = gcc
  10.  
  11. LEX = @LEX@
  12.  
  13. SHELL=/bin/sh
  14.  
  15. INSTALL = /bin/install -c
  16. INSTALL_DATA = ${INSTALL} -m 644
  17.  
  18.  
  19.  
  20. prefix = /usr/local
  21. exec_prefix = ${prefix}
  22. srcdir = .
  23. bindir = ${exec_prefix}/bin
  24. libdir = ${exec_prefix}/lib
  25. mandir = ${prefix}/man
  26. PERL = @PERL@
  27.  
  28. CFLAGS = -O2  -DHAVE_CONFIG_H  -m68020 -Ioledecod -I. -DPATTERNDIR=\"file:///mswordview:patterns\" -DSYMBOLFONTDIR=\"file:///mswordview:symbolfont\" -DWINGDINGFONTDIR=\"file:///mswordview:wingdingfont\"
  29.  
  30. MKINSTALLDIRS = $(srcdir)/mkinstalldirs
  31.  
  32. SHELL = /bin/sh
  33.  
  34. .SUFFIXES: .C .o
  35.  
  36. MYOBJECTS =    \
  37.     mswordview.o \
  38.     laolareplace.old.o \
  39.     support.o \
  40.     list.o \
  41.     piecetable.o \
  42.     stylesheet.o \
  43.     sprm.o \
  44.     blip.o \
  45.     utf.o \
  46.     init_chp.o \
  47.     field.o \
  48.     formatting.o \
  49.     references.o \
  50.     gpprl.o \
  51.     papchpsep.o \
  52.     hyperlink.o \
  53.     decompresswmf.o \
  54.     table.o \
  55.     annotations.o \
  56.     roman.o
  57.  
  58. OLE = oledecod/oledecod.o
  59.  
  60.  
  61. all: mswordview
  62.  
  63. mswordview:  $(MYOBJECTS) $(GETOPT) OLEDECODE
  64.      $(CC) $(LDFLAGS) -o mswordview $(MYOBJECTS) $(GETOPT) $(OLE) $(LIBS)
  65.  
  66. support.o: support.c Makefile
  67.     $(CC) $(CFLAGS) -c $*.c
  68.  
  69. laolareplace.o: laolareplace.c Makefile
  70.     $(CC) $(CFLAGS) -c $*.c
  71.  
  72. OLEDECODE:
  73.     @echo making oledecod in oledecod
  74.     @(cd oledecod && $(MAKE)) || exit 1
  75.  
  76.  
  77. %.o: %.c
  78.     $(CC) $(CFLAGS) -c $*.c
  79.  
  80. cleansub:
  81.     @echo cleaning oledecod in oledecod
  82.     @(cd oledecod && $(MAKE) clean) || exit 1
  83.  
  84. clean: cleansub
  85.     rm -rf $(MYOBJECTS) $(GETOPT) mswordview core a.out
  86.  
  87. realclean: realcleansub
  88.     rm -rf config.cache config.status config.log Makefile config.h lex.yy.c *.o mswordview core out* analyze/*
  89.  
  90. realcleansub:
  91.     @echo real cleaning oledecod in oledecod
  92.     @(cd oledecod && $(MAKE) realclean) || exit 1
  93.  
  94. installdirs:
  95.     $(MKINSTALLDIRS) $(bindir) \
  96.     $(mandir) \
  97.     $(mandir)/man1 \
  98.     $(libdir) \
  99.     $(libdir)/mswordview \
  100.     $(libdir)/mswordview/symbolfont \
  101.     $(libdir)/mswordview/wingdingfont \
  102.     $(libdir)/mswordview/patterns
  103.  
  104.  
  105. install: installdirs $(srcdir)/mswordview
  106.     $(INSTALL) $(srcdir)/mswordview $(bindir)/mswordview
  107.     $(INSTALL_DATA) $(srcdir)/symbolfont/* $(libdir)/mswordview/symbolfont
  108.     $(INSTALL_DATA) $(srcdir)/wingdingfont/* $(libdir)/mswordview/wingdingfont
  109.     $(INSTALL_DATA) $(srcdir)/patterns/* $(libdir)/mswordview/patterns
  110.     $(INSTALL_DATA) $(srcdir)/mswordview.1 $(mandir)/man1/
  111.  
  112. #  DO  NOT  DELETE THIS LINE -- make depend depends on it.
  113.